package com.cloud.order.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
* 角色菜单关联表(RoleMenu) 实体类
*
* @author zhangxun
* @since 2020-08-24
*/
@Data
@TableName(value = "role_menu")
public class RoleMenu implements Serializable {
    private static final long serialVersionUID=1L;
    @TableId(type = IdType.AUTO)
    private Long roleId;

    @TableField("menu_id")
    private Long menuId;

}